<select size="1" id="param" name="param" onchange="showGrades();">
	<?php 
	foreach ($departments as $code => $name) {
	?>
	<option value='<?php echo $code;?>'><?php echo $name;?></option>
	<?php
	}
	?>
</select>
